package com.guofen.service.shlj;
import com.guofen.pojo.ShljWaterMeter;
import com.guofen.pojo.ShljYijingStationSelling;
import org.apache.ibatis.jdbc.Null;

import java.util.List;
import java.util.Map;

public interface YijingStationSellingService{
    //增
    boolean add(String name,
                Double amount,
                String remarks);

    ShljYijingStationSelling getlast();

    List<ShljYijingStationSelling> getrecord_day();

    List<Double> getamount_day();

    public Map<String, Object> get(int pageSize, int currentPage);

    public Map<String, Object> getByTime(int pageSize, int currentPage, long startTime, long endTime);

    public int delete(int id);

    public int update(ShljYijingStationSelling record);

    boolean addFormExcel(String date,
                         String name,
                         Double amount,
                         String unit,
                         Double price,
                         Double totalPrice,
                         String remarks);
}